package com.tony.mindwarning.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created with IntelliJ IDEA.
 *
 * @Title: Log
 * @Auther: 皮蛋布丁
 * @Date: 2021/04/07/22:02
 * @Description:登录日志实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Log {

    private Integer id;
    private String uname;       //用户名称
    private String logintime;   //登录时间
    private String loginip;     //登录ip
    private String logincity;   //登录位置

    public Log(String uname, String logintime, String loginip, String logincity) {
        this.uname = uname;
        this.logintime = logintime;
        this.loginip = loginip;
        this.logincity = logincity;
    }
}
